// vite.config.ts
import { URL, fileURLToPath } from "node:url";
import { defineConfig } from "file:///D:/git-code2/cloud_test_platform_vue/node_modules/.pnpm/vite@5.0.10_@types+node@20.10.6_less@4.2.0/node_modules/vite/dist/node/index.js";
import Vue from "file:///D:/git-code2/cloud_test_platform_vue/node_modules/.pnpm/@vitejs+plugin-vue@5.0.2_vite@5.0.10_vue@3.4.15/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import UnoCSS from "file:///D:/git-code2/cloud_test_platform_vue/node_modules/.pnpm/unocss@0.58.3_postcss@8.4.38_vite@5.0.10/node_modules/unocss/dist/vite.mjs";
import VueRouter from "file:///D:/git-code2/cloud_test_platform_vue/node_modules/.pnpm/unplugin-vue-router@0.7.0_vue-router@4.2.5_vue@3.4.15/node_modules/unplugin-vue-router/dist/vite.mjs";
import AutoImport from "file:///D:/git-code2/cloud_test_platform_vue/node_modules/.pnpm/unplugin-auto-import@0.17.3_@vueuse+core@10.7.1/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/git-code2/cloud_test_platform_vue/node_modules/.pnpm/unplugin-vue-components@0.26.0_vue@3.4.15/node_modules/unplugin-vue-components/dist/vite.js";
import { VueRouterAutoImports } from "file:///D:/git-code2/cloud_test_platform_vue/node_modules/.pnpm/unplugin-vue-router@0.7.0_vue-router@4.2.5_vue@3.4.15/node_modules/unplugin-vue-router/dist/index.mjs";
var __vite_injected_original_import_meta_url = "file:///D:/git-code2/cloud_test_platform_vue/vite.config.ts";
var vite_config_default = defineConfig({
  plugins: [
    Vue({
      script: {
        defineModel: true
      }
    }),
    UnoCSS(),
    VueRouter({
      dts: "./src/types/vue-router.d.ts",
      routesFolder: "src/views",
      extensions: [".vue"],
      importMode: "async"
    }),
    AutoImport({
      dts: "./src/types/auto-import.d.ts",
      imports: ["vue", "pinia", "@vueuse/core", VueRouterAutoImports],
      dirs: ["./src/composables", "./src/stores", "./src/utils"]
    }),
    Components({
      dts: "./src/types/components.d.ts"
    })
  ],
  resolve: {
    alias: {
      "~": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    proxy: {
      "/server-api": {
        target: 'http://127.0.0.1:8000',
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/server-api/, "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxnaXQtY29kZTJcXFxcY2xvdWRfdGVzdF9wbGF0Zm9ybV92dWVcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkQ6XFxcXGdpdC1jb2RlMlxcXFxjbG91ZF90ZXN0X3BsYXRmb3JtX3Z1ZVxcXFx2aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vRDovZ2l0LWNvZGUyL2Nsb3VkX3Rlc3RfcGxhdGZvcm1fdnVlL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgVVJMLCBmaWxlVVJMVG9QYXRoIH0gZnJvbSAnbm9kZTp1cmwnXG5cbmltcG9ydCB7IGRlZmluZUNvbmZpZyB9IGZyb20gJ3ZpdGUnXG5pbXBvcnQgVnVlIGZyb20gJ0B2aXRlanMvcGx1Z2luLXZ1ZSdcblxuaW1wb3J0IFVub0NTUyBmcm9tICd1bm9jc3Mvdml0ZSdcbmltcG9ydCBWdWVSb3V0ZXIgZnJvbSAndW5wbHVnaW4tdnVlLXJvdXRlci92aXRlJ1xuaW1wb3J0IEF1dG9JbXBvcnQgZnJvbSAndW5wbHVnaW4tYXV0by1pbXBvcnQvdml0ZSdcbmltcG9ydCBDb21wb25lb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